<template>
  <view class="subpage-container">
    <!-- 顶部标题 -->
    <view class="header">
      <view class="back-btn" @click="goBack">
        <text class="iconfont icon-back"></text>
      </view>
      <text class="title">我的收藏</text>
      <view class="placeholder"></view>
    </view>
    
    <!-- 页面内容 -->
    <view class="content">
      <view class="empty-state">
        <image class="empty-image" src="/static/empty-favorites.png" mode="aspectFit"></image>
        <text class="empty-text">暂无收藏内容</text>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    goBack() {
      uni.navigateBack();
    }
  }
};
</script>

<style lang="scss">
.subpage-container {
  min-height: 100vh;
  background-color: #f5f5f5;
}

.header {
  height: 90rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  padding: 0 30rpx;
  position: relative;
}

.back-btn {
  font-size: 40rpx;
  color: #333;
  width: 40rpx;
}

.title {
  font-size: 36rpx;
  font-weight: 500;
}

.placeholder {
  width: 40rpx;
}

.content {
  padding: 30rpx;
}

.empty-state {
  padding: 100rpx 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.empty-image {
  width: 200rpx;
  height: 200rpx;
  margin-bottom: 20rpx;
}

.empty-text {
  font-size: 28rpx;
  color: #999;
}
</style> 